home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / fileintf.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.9 KB  |  53 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'FileIntf.pas' rev: 3.00
  6.  
  7. #ifndef FileIntfHPP
  8. #define FileIntfHPP
  9. #include <VirtIntf.hpp>
  10. #include <SysUtils.hpp>
  11. #include <SysInit.hpp>
  12. #include <System.hpp>
  13.  
  14. //-- user supplied -----------------------------------------------------------
  15.  
  16. namespace Fileintf
  17. {
  18. //-- type declarations -------------------------------------------------------
  19. class DELPHICLASS TIVirtualFileSystem;
  20. class PASCALIMPLEMENTATION TIVirtualFileSystem : public Virtintf::TInterface 
  21. {
  22.     typedef Virtintf::TInterface inherited;
  23.     
  24. public:
  25.     virtual Virtintf::TIStream* __stdcall GetFileStream(const System::AnsiString FileName, int Mode) = 0
  26.         ;
  27.     virtual int __stdcall FileAge(const System::AnsiString FileName) = 0;
  28.     virtual bool __stdcall RenameFile(const System::AnsiString OldName, const System::AnsiString NewName
  29.         ) = 0;
  30.     virtual bool __stdcall IsReadonly(const System::AnsiString FileName) = 0;
  31.     virtual bool __stdcall IsFileBased(void) = 0;
  32.     virtual bool __stdcall DeleteFile(const System::AnsiString FileName) = 0;
  33.     virtual bool __stdcall FileExists(const System::AnsiString FileName) = 0;
  34.     virtual System::AnsiString __stdcall GetTempFileName(const System::AnsiString FileName) = 0;
  35.     virtual System::AnsiString __stdcall GetBackupFileName(const System::AnsiString FileName) = 0;
  36.     virtual System::AnsiString __stdcall GetIDString(void) = 0;
  37. public:
  38.     /* TInterface.Create */ __fastcall TIVirtualFileSystem(void) : Virtintf::TInterface() { }
  39.     
  40. public:
  41.     /* TObject.Destroy */ __fastcall virtual ~TIVirtualFileSystem(void) { }
  42.     
  43. };
  44.  
  45. //-- var, const, procedure ---------------------------------------------------
  46.  
  47. }    /* namespace Fileintf */
  48. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  49. using namespace Fileintf;
  50. #endif
  51. //-- end unit ----------------------------------------------------------------
  52. #endif    // FileIntf
  53.